Function |to_utf8

std/text/convert/string::|to_utf8


Usage

|to_utf8(text)

Parameters

↳ text: string

Return

↴ Vec<byte>


Convert string into UTF-8 encoded vector of bytes.